<?php
namespace app\admin\controller;

class Member extends Common
{
    /**
     * 用户列表
     */
    public function lists(){
        $list = model('Admin')->index();
        $page = $list->render();

        // 模板变量赋值
        $this->assign('list',$list);
        $this->assign('page',$page);

        // 渲染模板输出
        return $this->fetch();
    }

    /**
    *  添加用户
    */
    public function add(){

        return $this->fetch();
    }
}
